﻿using Basic.FormRemoteModel.UserForm;
using Basic.FormRemoteModel.UserForm.Model;
using Basic.UserFormService.Interface;
using WeDonekRpc.Client.Interface;

namespace Basic.UserFormService.RpcEvent
{
    internal class UserFormEvent : IRpcApiService
    {
        private readonly IUserFormService _Service;

        public UserFormEvent ( IUserFormService service )
        {
            this._Service = service;
        }

        public UserFormBody GetUserFormBody ( GetUserFormBody obj )
        {
            return this._Service.Get(obj.Param);
        }
    }
}
